home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Bitmap Libraries 2.0 / Examples / PaintBucket / MakeFile < prev    next >
Makefile  |  1996-02-27  |  2KB  |  71 lines

  1. # File MakeFile Copyright (C) 1996 by John R. Montbriand.  All Rights Reserved.
  2. #
  3. # File MakeFile
  4. #     Copyright (C) 1996 by John Montbriand.  All Rights Reserved.
  5. #     
  6. #     Distribute freely in areas where the laws of copyright apply.
  7. #     
  8. #     Use at your own risk.
  9. #     
  10. #     Do not distribute modified copies.
  11. #     
  12. #     These various BitMap libraries and examples are for free!
  13. #     
  14. #     See the accompanying file BitMap.txt for details.
  15.  
  16.  
  17.  
  18. ### variables defining what compiler commands to use
  19.  
  20. COMP_PPC = MrC
  21.  
  22. COMP_68K = SC
  23.  
  24.  
  25.  
  26. ### resource fork
  27.  
  28. PaintBucket ƒƒ PaintBucket.r  PaintBucket.rsrc
  29.     Rez -i {RIncludes} PaintBucket.r -o PaintBucket
  30.  
  31. PaintBucket ƒƒ :obj:PaintBucket.c.68k :obj:BitMap.c.68k PaintBucket.r PaintBucket.rsrc
  32.     Link -w -t APPL -c '????' ∂
  33.         -o PaintBucket ∂
  34.         :obj:PaintBucket.c.68k ∂
  35.         :obj:BitMap.c.68k ∂
  36.         {CLibraries}StdCLib.o ∂
  37.         {Libraries}Interface.o ∂
  38.         {Libraries}MacRuntime.o
  39.  
  40.  
  41. ### data fork
  42.  
  43. PaintBucket ƒƒ :obj:PaintBucket.c.ppc :obj:BitMap.c.ppc PaintBucket.r PaintBucket.rsrc
  44.     PPCLink -w -o PaintBucket ∂
  45.         :obj:BitMap.c.ppc ∂
  46.         :obj:PaintBucket.c.ppc ∂
  47.         {SharedLibraries}InterfaceLib ∂
  48.         {SharedLibraries}StdCLib ∂
  49.         {PPCLibraries}PPCCRuntime.o ∂
  50.         {PPCLibraries}StdCRuntime.o
  51.  
  52.  
  53. ### PowerPC compiler commands
  54.  
  55. :obj:BitMap.c.ppc ƒ BitMap.c BitMap.h
  56.     {COMP_PPC} BitMap.c -o :obj:BitMap.c.ppc
  57.  
  58. :obj:PaintBucket.c.ppc ƒ PaintBucket.c BitMap.h
  59.     {COMP_PPC} PaintBucket.c -o :obj:PaintBucket.c.ppc
  60.  
  61.  
  62. ### 68000 compiler commands
  63.  
  64. :obj:BitMap.c.68k ƒ BitMap.c BitMap.h
  65.     {COMP_68K} BitMap.c -o :obj:BitMap.c.68k
  66.  
  67. :obj:PaintBucket.c.68k ƒ PaintBucket.c BitMap.h
  68.     {COMP_68K} PaintBucket.c -o :obj:PaintBucket.c.68k
  69.  
  70.